Etn\Core\Woocommerce\Hooks D

Total Complexity 354
Dependencies 4
Dependents 1
Total lines 1,954
Lines of code 1,322
Logical lines of code 797
Comment lines 272
Methods 45
Properties 2

Methods 45

Method Rating Maintainability Complexity Lines of code
process_all_once_order_created()
D
25
40 141
validate_add_to_cart_item()
D
27
38 124
update_event_stock_on_order_status_update()
C
32 30 99
insert_attendee_before_add_to_cart()
C
31 29 97
validate_min_max_qty_before_order_submit()
C
32 29 93
etn_cart_item_name()
A
43 16 42
etn_woo_cart_coupon_validation()
A
43 11 48
etn_add_cart_item_data()
A
47 9 32
etn_woo_coupon_count_adjustment()
A
49 8 28
update_event_revenue_on_refunded()
A
50 8 28
review_stock_with_cart_quantity()
A
51 8 26
etn_woo_coupon_markup()
A
48 7 36
booked_seats()
S
52 7 24
change_purchase_report_status_on_order_status_update()
S
46 6 37
remove_product_from_cart()
S
57 7 17
show_event_ticket_variation_details()
S
54 6 21
add_cart_item_data()
S
57 6 16
hide_order_itemmeta()
S
62 6 11
etn_woo_cart_order_processed()
S
51 5 24
show_zoom_events_details()
S
54 5 21
Init()
S
44 3 44
change_attendee_payment_status_on_order_status_update()
S
61 5 12
etn_variation_ticket_total_price()
S
60 5 12
save_cart_item_data()
S
56 4 19
etn_order_page_metabox_callback()
S
49 3 32
email_zoom_event_details_on_order_status_update()
S
57 4 16
email_attendee_ticket_details_on_order_status_update()
S
59 4 15
wc_cart_item_quantity()
S
65 5 8
search_array_by_value()
S
63 4 11
remove_attendee()
S
55 3 21
etn_checkout_callback()
S
56 3 19
before_checkout_check_stock()
S
56 3 19
before_cart_check_stock()
S
57 3 16
etn_redirect_checkout_add_cart()
S
64 4 9
before_submit_order_check_stock()
S
59 3 14
etn_woo_coupon_save_options()
S
55 2 19
etn_woocommerce_product_get_price()
S
66 3 8
etn_order_page_table_css()
S
64 2 14
etn_woo_coupon_script()
S
65 2 12
etn_checkout_total_ticket_qty()
S
74 2 4
etn_total_variation_price()
S
70 2 6
add_new_product_type_for_stripe_payment()
S
77 1 4
_cart_item_price()
S
82 1 3
hide_order_itemmeta_on_order_status_update()
S
65 1 10
etn_order_page_metabox_init()
S
65 1 10